/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mlbs.helper;

import java.util.Date;

/**
 * Cache data is the class that represents the cached object stored in the DB
 * 
 * @author hubharan
 */
public class CacheData {
    private String pageName;
    private Date lastModified;
    private String modifierApp;
    private StringBuffer pageData;

    /**
     * Get the page name of the cache
     * @return pageName
     */
    public String getPageName() {
        return pageName;
    }

    /**
     * Set the page name
     * @param pageName
     */
    public void setPageName(String pageName) {
        this.pageName = pageName;
    }

   /**
    * Date when the cache was last modified
    * @return dateModified
    */
    public Date getLastModified() {
        return lastModified;
    }

    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }

    /**
     * Name of the app that modified the cache
     * @return modifier app name
     */
    public String getModifierApp() {
        return modifierApp;
    }

    public void setModifierApp(String modifierApp) {
        this.modifierApp = modifierApp;
    }

    /**
     * Page data object
     * @return pageData
     */
    public StringBuffer getPageData() {
        return pageData;
    }

    public void setPageData(StringBuffer pageData) {
        this.pageData = pageData;
    }
    
}
